import request from "@/utils/request";

export const form = {
  add: (data) => {
    return request({
      url: "/form/add",
      method: "post",
      data: data,
    });
  },
  detail: (id) => {
    return request({
      url: "/form/detail",
      method: "get",
      params: {
        id: "2",
      },
    });
  },
};
